package com.zxh.mall.order.feign;

import com.zxh.mall.order.vo.OrderItemVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

/**
 * @author zhengxh
 * @version 1.0
 * @date 2024/5/19 - 05 - 19 - 20:24
 * @description com.zxh.mall.order.feign
 */
@FeignClient("mall-cart")
public interface CartFeignService {

    @GetMapping("/getUserCartItems")
    public List<OrderItemVO> getUserCartItems();
}
